package com.ecar.mp.servlet;

import java.io.Serializable;

/**
 * Created by 30 on 2016/7/15.
 */
public class Token implements Serializable{

	public String accessToken;
	public String refreshToken;
	public int expires;
	public String scope;

	public Token() {
	}

	public Token(int expires, String accessToken, String refreshToken, String scope) {
		this.expires = expires;
		this.accessToken = accessToken;
		this.refreshToken = refreshToken;
		this.scope = scope;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}

	public int getExpires() {
		return expires;
	}

	public void setExpires(int expires) {
		this.expires = expires;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}
}
